import { myGet } from '@/utils/request'

/** 获取微信支付参数 */
export const getPayWxPayMiniPayAPI = (data: { orderId: string }) => {
  return myGet<WechatMiniprogram.RequestPaymentOption>('/pay/wxPay/miniPay', data)
}

/** 模拟支付-内测版 */
export const getPayMockAPI = (data: { orderId: string }) => {
  return myGet('/pay/mock', data)
}
